export const empty = (component) => {
    if (!component.params.teamName) {
        component.$toast(component.$t('application.toast.teamName'), 2000, 'warning');
        return 'err';
    } else if (!component.params.schoolName) {
        component.$toast(component.$t('application.toast.schoolName'), 2000, 'warning');
        return 'err';
    } else if (!component.params.conactEmail) {
        component.$toast(component.$t('application.toast.conactEmail'), 2000, 'warning');
        return 'err';
    }  else if (component.params.memberParams.length <= 0) {
        component.$toast(component.$t('application.toast.memberParams'), 2000, 'warning');
        return 'err';
    } else if (!component.params.itemName) {
        component.$toast(component.$t('application.toast.itemName'), 2000, 'warning');
        return 'err';
    } else if (!component.params.coupeArticle) {
        component.$toast(component.$t('application.toast.coupeArticle'), 2000, 'warning');
        return 'err';
    } else if (!component.params.itemLogo) {
        component.$toast(component.$t('application.toast.itemLogo'), 2000, 'warning');
        return 'err';
    } else if (!component.params.itemIntro) {
        component.$toast(component.$t('application.toast.itemIntro'), 2000, 'warning');
        return 'err';
    } else if (!component.params.itemVideo) {
        component.$toast(component.$t('application.toast.itemVideo'), 2000, 'warning');
        return 'err';
    } else if (!component.params.itemPoster) {
        component.$toast(component.$t('application.toast.itemPoster'), 2000, 'warning');
        return 'err';
    } else if (!component.params.faithConsent) {
        component.$toast(component.$t('application.toast.faithConsent'), 2000, 'warning');
        return 'err';
    }
}